/**
 * 
 */
package com.aibili.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 匿名交友信息表
 * 
 * @author qiuch
 * 
 */
@Entity
@Table(name = "t_user_anonymous")
public class UserAnonymous implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6734740117231616299L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", length = 11, nullable = false)
	private long id;

	@Column(name = "user_id", length = 11, nullable = false)
	private long user_id; // 用户id

	@Column(name = "password")
	private String password; // 密码

	@Column(name = "anonymous_id")
	private String anonymous_id; // 环信账号

	@Column(name = "portrait")
	private String portrait;// 匿名头像地址

	@Column(name = "nick_name")
	private String nick_name;// 匿名昵称

	@Column(name = "intro")
	private String intro;// 匿名宣言

	@Column(name = "gender")
	private String gender;// 匿名性别

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getUser_id() {
		return user_id;
	}

	public void setUser_id(long user_id) {
		this.user_id = user_id;
	}

	public String getPortrait() {
		return portrait;
	}

	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}

	public String getNick_name() {
		return nick_name;
	}

	public void setNick_name(String nick_name) {
		this.nick_name = nick_name;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAnonymous_id() {
		return anonymous_id;
	}

	public void setAnonymous_id(String anonymous_id) {
		this.anonymous_id = anonymous_id;
	}
}
